package ModelLayer;

/**
 * 
 * @author DM79 group 5
 * @version 2012.13.12
 */

public class Material {
	//instance variables
	private String idMaterial;
	private String type;
	private double price;
	private int shine;
	private String colour;
	private double amount;
	
	// Constructors
	public Material()
	{
		
	}
	
	public Material(String idMaterial) 
	{
		this.idMaterial = idMaterial;
	}
	
	public Material(String idMaterial,String type,double price,int shine,String colour,double amount) {
		this.idMaterial = idMaterial;
		this.type = type;
		this.price = price;
		this.shine = shine;
		this.colour = colour;
		this.amount = amount;
	}

	/**
	 * getters
	 */
	
	/**
	 * @return the idMaterial
	 */
	public String getIdMaterial() {
		return idMaterial;
	}

	/**
	 * @param idMaterial the idMaterial to set
	 */
	public void setIdMaterial(String idMaterial) {
		this.idMaterial = idMaterial;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**
	 * @return the price
	 */
	public double getPrice() {
		return price;
	}

	/**
	 * @param price the price to set
	 */
	public void setPrice(Double price) {
		this.price = price;
	}

	/**
	 * @return the shine
	 */
	public int getShine() {
		return shine;
	}	

	/**
	 * setters
	 */
	
	/**
	 * @param shine the shine to set
	 */
	public void setShine(int shine) {
		this.shine = shine;
	}

	/**
	 * @return the colour
	 */
	public String getColour() {
		return colour;
	}

	/**
	 * @param colour the colour to set
	 */
	public void setColour(String colour) {
		this.colour = colour;
	}

	/**
	 * @return the amount
	 */
	public double getAmount() {
		return amount;
	}

	/**
	 * @param amount the amount to set
	 */
	public void setAmount(double amount) {
		this.amount = amount;
	}
}
